package com.fhyc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (SoInFhCompare)实体类
 *
 * @author makejava
 * @since 2024-10-14 09:01:14
 */
@Data
//@TableName("SO_IN_FH_COMPARE")
//@TableName("so_in_fh_compare")
public class SoInFhCompare implements Serializable {
    private static final long serialVersionUID = 542594627053654888L;

    //@TableId
    private String id;

    private String qyid;

    /**
     * 区域名称
     */
    @TableField(exist = false)
    private String qyName;

    private String yccj;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ycrq;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sjrq;

    private Double rdl;

    private Double avgFh;

    private Double maxFh;

    private Double minFh;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date maxFhTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date minFhTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @TableField(exist = false)
    private String batch;


    @TableField(exist = false)
    private String dataDate;;

    private Double accuracy;
    @TableField(exist = false)
    private Double calculateMaxLoadAccuracy;

    @TableField(exist = false)
    private Double calculateMinLoadAccuracy;

}

